<div>
    <g:set var="bidEntity" value="${message(code: 'bid.label', default: 'Bid')}" />
    <g:set var="bidDescription" value="${message(code: 'bid.winning.label', default: 'Winning')}" />
    <g:if test="${flash.message != null && flash.message?.toString().contains('Bid')}">
        <div class="message">${flash.message}</div>
    </g:if>
    <g:hasErrors bean="${bidInstance}">
        <div class="errors">
            <g:renderErrors bean="${bidInstance}" as="list" />
        </div>
    </g:hasErrors>
    <g:if test="${listingInstance}">
        <div id="winningBidInfo">
            <g:render template="/listing/winningBidInfo" model="[listingInstance:listingInstance,bidEntity:bidEntity,bidDescription:bidDescription]">Show Winning Bid Info</g:render>
        </div>

    </g:if>
</div>